# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-fuse
pkgver=0_git20200207
pkgrel=0
_commit="ef603d165914afc3f54971d082e69adea187c8ec"
pkgdesc="port of the Fuse Unix Spectrum Emulator to libretro"
url="https://github.com/libretro/fuse-libretro"
arch="all"
license="GPL-3.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/fuse-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/fuse-libretro-$_commit"
options="!check" # No tests

build() {
	make -f Makefile.libretro
}

package() {
	install -Dm644 fuse_libretro.so "$pkgdir"/usr/lib/libretro/fuse_libretro.so
}

sha512sums="b1a14a9cc1ece9ad6d2acce5f2a6ec4aca7201d09c27da5493829a78c2e07166355bd9f438984e4ebf9b09670faa1ad0638752834b8233a335e3cb5b3b5174e1  libretro-fuse-ef603d165914afc3f54971d082e69adea187c8ec.tar.gz"
